package com.graden.background.controller.sysuserlog.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 
 * </p>
 *
 * @author 
 * @since 2019-03-28
 */
@Data
@ApiModel
public class UserLogVO {

    /**
     * bip账号
     */
    @ApiModelProperty(name = "bip账号", value = "bipCode", example = "zhongjianfeng")
    private String bipCode;

    /**
	 * 模块id
     */
    @ApiModelProperty(name = "操作模块", value = "menuId", example = "1")
    private Integer menuId;

    /**
     * 功能权限id
     */
    @ApiModelProperty(name = "操作行为", value = "functionId", example = "1")
    private Integer functionId;

    /**
     * 开始时间
     */
    @ApiModelProperty(name = "开始时间", value = "startTime", example = "2019-03-15 00:00:00")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime startTime;

    /**
     * 结束时间
     */
    @ApiModelProperty(name = "结束时间", value = "functionId", example = "2019-04-01 12:30:00")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private LocalDateTime endTime;


}
